from PIL import Image


img = Image.open(r"C:\Users\ZGS\Desktop\herhome\验证appium\images\p-1597110987.3446383.png")
# [666,800][730,864]
print(img.size)


crop = img.crop((666, 800, 730, 864))
crop.save('tb.png')
